package com.zjt.dao.user;

import com.zjt.entity.Record;
import java.util.List;
/**
 * Created with IntelliJ IDEA.
 * User: xueyanbeijing
 * Date: 12-9-7
 * Time: PM10:38
 * To change this template use File | Settings | File Templates.
 */
public interface IRecordDaoExpand {
    /**
     * 通过指定的sql 脚本，分页取扫描记录
     * @param userId
     * @param startRow
     * @param pageSize
     * @return
     */
    List<Record> getRecordListByUserId(long userId,int startRow,int pageSize);

    /**
     * 分页取所有数据
     * @param startRow
     * @param pageSize
     * @return
     */
   // List<Record> getRecordList(int startRow,int pageSize);



}
